<!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> 
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
     <link rel="stylesheet" href="__STATIC__/layout/css/channel.css" type="text/css">
     <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/sc/js/page.js"></script>
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
      <h2 class="title_color text-center">武汉市华林有限公司-核销中金额列表</h2>
    </div>
    <!-- 标题 -->
    <div class="form-inline">
    <form action="#" method="post" id="form_check" class="formpage">
               <input type="hidden" value='{$page}' name="page" id="page-go"/>
              <input type="hidden" value='{$list}' name="list" id="list-go"/>
      <table class="row-margin-top table-striped table-bordered table-hover table text-center" border="1">
      <tr class="info">
        <th class="text-center">序号</th>
        <th class="text-center">核销明细编号</th>
         <th class="text-center">分区</th>
        <th class="text-center">省份</th>
        <th class="text-center">城市</th>
        <th class="text-center">经销商</th>
        <th class="text-center">系统</th>
        <th class="text-center">网点</th>
        <th class="text-center">品牌</th>
        <th class="text-center">核销时间</th>
        <th class="text-center">费用明细</th>
        <th class="text-center">核销金额</th>
      </tr>
    {volist name="applys" id="vo"}
        <tr>
            <td>{$i}</td>
            <td><a onclick="hede({$vo.id},{$vo.apid})">{$vo.no}_{$vo.he_detail_no}</a></td>
            <td>{$vo.fenqu}</td>
            <td>{$vo.sheng}</td>
            <td>{$vo.shi}</td>
            <td>{$vo.jxs}</td>
            <td>{$vo.system}</td>
            <td>{$vo.net}</td>
            <td>{$vo.brand}</td>
            <td>{$vo.created_on}</td>
            <td>{$vo.kemu3}</td>
            <td class="num2 piMoney">{$vo.hexiao_weishui}</td>
        </tr>
      {/volist}
    
   </table>
     <h5 class="text-center" id="pagesc" style="font-size: 16px;font-weight: 500">
            <script>
                            $(function(){
                                pageSC("pagesc",{$sum},{$page},{$maxpage})
                            })
                        </script> 
         每页显示
           <select id="pagesize">
                        <option value='10' {if condition="$list eq 10"}selected{/if}>10条</option>
                        <option value='15'{if condition="$list eq 15"}selected{/if}>15条</option>
                        <option value='20'{if condition="$list eq 20"}selected{/if}>20条</option>

            </select>
        </h5>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
    <script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>

<script src="__STATIC__/layout/js/plugins/suggest/bootstrap-suggest.min.js"></script>
    <script src="__STATIC__/layout/js/common.js"></script>
     <script>
      function hede(hid,aid){
    
      var index = layer.open({
                            type:2,
                            title:'常规促销申请',
                            area:['100%','100%'],
                            maxmin:true,
                            content:"{:url('Apapply/apCostVerifyDetail')}?hid="+hid+"&aid="+aid
                        })
    }
        $(document).ready(function(){
            $(".num2").each(function(){
                    $(this).html(parseFloat($(this).html()).toFixed(2));
                 })
            var $piMoney=$(".piMoney")
             toNum($piMoney);
        })
                 //翻页
       
     </script>
</body>

</html>